package com.tongji.housediy.controller
{
	import com.tongji.housediy.events.UpdateViewControlEvent;
	import com.tongji.housediy.model.ViewControlModel;
	
	import org.robotlegs.mvcs.Command;
	
	/**
	 * 
	 * @author chenchao
	 * 
	 */
	public class UpdateViewControlCommand extends Command
	{
		[Inject]
		public var model:ViewControlModel;
		
		[Inject]
		public var event:UpdateViewControlEvent;
		
		override public function execute():void
		{
			model.updateIndex(event);
		}
	}
}